<!--suppress ALL -->
<include file="./Template/header.html" />

<link rel="stylesheet" type="text/css" href="/Template/css/doctorDetail.css">
<script type="text/javascript">


	$(function() {

		//初始化页面配置
		initPage("医生详情");

		var app = new Vue({
			el: '#container',
			data: {
				info: [],
				list: []
			},
			methods: {
				jump: function(url) {
					window.location.href = url;
				}
			}
		})

		$(".pop-frame").click(function() {
			$(".subscribe").hide();
		});

		setTimeout(function() {
			$('table').css({
				width: "100%"
			});

			$('.speciality p img').css({
				width: "100%"
			});

			$('.speciality p span img').css({
				width: "100%"
			});

			$('.speciality ul, .speciality ol').css({
				"padding-left":"1.2rem"
			});

			var fullWidth = $(".speciality").width();

			$("iframe").each(function() {
				var originSrc = $(this).attr("src").split("&",1)[0];
				var newSrc = originSrc + "&width=" + fullWidth + "&height=280&auto=0";
				$(this).css("width", fullWidth+"px");
				$(this).attr("src", newSrc);
				$(this).css("height", "280px");
			});

		}, 500);

	})

</script>

<div class="container" id="container">
	<div class="header">
		<img class="head-img-bg" src="/Template/images/docheadimgbg.png" alt="">
		<img class="head-img" src="{$info.image_url}" alt="">
		<p class="doc-name">{$info.doctor_name}</p>
		<p class="hospital">{$info.hospital_name}</p>
		<button class="doc-channel" v-on:click="jump('{$info.doctor_link}')">医生个人通道</button>
	</div>
	<div class="speciality">
		<p class="apeciality-content">{$info.good_at}</p>
	</div>
	<!--if condition="$customer['subscribe'] neq 1">
		<div class="subscribe">
			<div class="pop-frame">
				<div class="hint">
					<div class="line"></div>
					<p class="rec-title">无法识别二维码?</p>
					<ul>
						<li>1、打开微信,点击添加朋友</li>
						<li>2、搜索微信号:xwkkffj</li>
						<li>3、点击”关注”,完成</li>
					</ul>
				</div>
			</div>
			<div class="two-d-code">
				<img class="two-d-code-bg" src="/Template/images/doc-2d-code-bg.png" alt="">
				<img class="two-d-code-img" src="/Template/images/xwk-qrcode.jpg" alt="">
				<p class="recognize">
					长按图片[识别二维码]关注公众号
				</p>
			</div>
		</div>
	</if-->

</div>
<include file="./Template/footer.html" />